package LinkList;

/**
 * @author lijunhao
 * 2023/7/17
 * @description TODO
 */
public class TestClass {
    public static void main(String[] args) {
        Stack stack = new Stack();

        stack.push(5);
        stack.push(10);
        stack.push(15);

        System.out.println(stack.pop());  // 输出15
        System.out.println(stack.pop());  // 输出10
        System.out.println(stack.pop());  // 输出5
    }
}
